package com.ruoyi.equipment.mapper;

import java.util.List;
import com.ruoyi.equipment.domain.EquipmentCheckPeriod;
import com.ruoyi.equipment.domain.EquipmentType;

/**
 * 校验周期维护Mapper接口
 * 
 * @author ruoyi
 * @date 2022-12-14
 */
public interface EquipmentCheckPeriodMapper 
{
    /**
     * 查询校验周期维护
     * 
     * @param id 校验周期维护主键
     * @return 校验周期维护
     */
    public EquipmentCheckPeriod selectEquipmentCheckPeriodById(Long id);

    /**
     * 查询校验周期维护列表
     * 
     * @param equipmentCheckPeriod 校验周期维护
     * @return 校验周期维护集合
     */
    public List<EquipmentCheckPeriod> selectEquipmentCheckPeriodList(EquipmentCheckPeriod equipmentCheckPeriod);

    /**
     * 新增校验周期维护
     * 
     * @param equipmentCheckPeriod 校验周期维护
     * @return 结果
     */
    public int insertEquipmentCheckPeriod(EquipmentCheckPeriod equipmentCheckPeriod);

    /**
     * 修改校验周期维护
     * 
     * @param equipmentCheckPeriod 校验周期维护
     * @return 结果
     */
    public int updateEquipmentCheckPeriod(EquipmentCheckPeriod equipmentCheckPeriod);

    /**
     * 删除校验周期维护
     * 
     * @param id 校验周期维护主键
     * @return 结果
     */
    public int deleteEquipmentCheckPeriodById(Long id);

    /**
     * 批量删除校验周期维护
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentCheckPeriodByIds(Long[] ids);

    /**
     * 批量删除${subTable.functionName}
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentTypeByIds(Long[] ids);
    
    /**
     * 批量新增${subTable.functionName}
     * 
     * @param equipmentTypeList ${subTable.functionName}列表
     * @return 结果
     */
    public int batchEquipmentType(List<EquipmentType> equipmentTypeList);
    

    /**
     * 通过校验周期维护主键删除${subTable.functionName}信息
     * 
     * @param id 校验周期维护ID
     * @return 结果
     */
    public int deleteEquipmentTypeById(Long id);
}
